package com.yunfeng.greenfarm.dao.impl;

import com.yunfeng.greenfarm.dao.IAdminBasicDao;
import com.yunfeng.greenfarm.model.user.AdminBasic;

public class AdminBasicDaoImpl extends CustomHibernateDaoSupport<AdminBasic>
		implements IAdminBasicDao {

	@Override
	public AdminBasic findByAdminId(String adminId) {
		return (AdminBasic) this.getSession().byId(adminId).load(AdminBasic.class);
	}

}
